#pragma once
#include <iostream>
#include <string>
using namespace std;
class Person
{
private:
	int age;
	//静态成员
	static int num;
public:
	Person();
	Person(int age, string name, string gender);
	~Person();
	string gender;

	string get_name();
	int get_age();
	string get_gender();
	void set_name(string name);
	void set_age(int age);
	void set_gender(string gender);
	static int get_num();
protected:
	string name;
};